-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Strip objects optimisation #142
base: master
Are you sure you want to change the base?
Conversation
…ied object types, dedupe on name/index (fref), it already has a type enumeration that could be used everywhere, binds, etc.
Remi remington was it you?
Well done.
To fix this more holistically then I probably want to wipe out the objects altogether / put on another layer and just use type + value with object wrapper being some other option or something. In some cases the user can happily avoid type because defaults / implicits and knowns will do the trick. |
CPP_DRIVER_DIR=$PHP_CASSANDRA | ||
fi | ||
else | ||
for i in /usr/local /usr; do | ||
if test -f $i/include/cassandra.h; then | ||
if test -f $i/include/cassandra/cassandra.h; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs some if then else for handling either situation (see remi merge).
I'm not sure if I'm going to finish this. I've stripped Cassandra from my tech stack entirely as it wasn't the appropriate solution to the problem so I'll no longer need to maintain this. |
Good catch. |
This is a work in progress for removing object wrappage. This is the minimal I need for my use case but not yet appropriate for other use as it breaks BC and needs lib redesign to work with PHP properly.
The problem is other OOP languages with strict typing, etc such as C++, C# and Java, can probably box and unbox things but not so with PHP so the wrappage is a guaranteed RAM/CPU issue with the only want to optimise it to outright remove it.